import request from '@/utils/request'

// 查询BI任务配置明细列表
export function listBiTaskConfigDetail(query) {
  return request({
    url: '/conf/BiTaskConfigDetail/list',
    method: 'get',
    params: query
  })
}

// 查询BI任务配置明细详细
export function getBiTaskConfigDetail(id) {
  return request({
    url: '/conf/BiTaskConfigDetail/' + id,
    method: 'get'
  })
}

// 新增BI任务配置明细
export function addBiTaskConfigDetail(data) {
  return request({
    url: '/conf/BiTaskConfigDetail',
    method: 'post',
    data: data
  })
}

// 修改BI任务配置明细
export function updateBiTaskConfigDetail(data) {
  return request({
    url: '/conf/BiTaskConfigDetail',
    method: 'put',
    data: data
  })
}

// 删除BI任务配置明细
export function delBiTaskConfigDetail(id) {
  return request({
    url: '/conf/BiTaskConfigDetail/' + id,
    method: 'delete'
  })
}
